//引入mock相应的模块
import Mock from "mockjs"
import banner from './banner.json'
import floor from './floor.json'
// import axios from 'axios'

//配置服务

Mock.mock('/mock/banner','get',{code:200,data:banner})
Mock.mock('/mock/floor', 'get', { code: 200, data: floor })

// 测试一下请求
// axios.get('/banner').then(
//   response=> {
//     console.log(response.data)
//       },
//       error=> {
//         console.log(error.message);
//       }
  
// )
